package com.javasm.crm.service.productservice;

import com.baomidou.mybatisplus.extension.service.IService;
import com.javasm.crm.domin.criteria.BrandCriteria;
import com.javasm.crm.domin.criteria.GoodsCriteria;
import com.javasm.crm.domin.entity.productEntity.Brand;
import com.javasm.crm.domin.entity.productEntity.Color;
import com.javasm.crm.domin.entity.productEntity.GoodsInfo;
import com.javasm.crm.domin.entity.productEntity.GoodsVo;
import com.javasm.crm.utils.page.PageResult;

import java.io.Serializable;
import java.util.List;

/**
 * @Author：zhangyang
 * @Version：1.0
 * @Date：2021/7/13-10:35
 * @desp:
 * @since:
 */
public interface BrandService extends IService<Brand> {
    List<Brand> getAllBrands();
    PageResult<Brand> searchPageByCriteria(BrandCriteria brandCriteria);
    int deleteById(Serializable id);
    int addBrand(Brand brand);
    int update(Brand t);
}
